package com.ruoyi.edu.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 讲师管理业务对象 edu_teacher
 *
 * @author ruoyi
 * @date 2022-08-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class EduTeacherBo extends BaseEntity {

    /**
     * 讲师ID
     */
    @NotBlank(message = "讲师ID不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 讲师姓名
     */
    @NotBlank(message = "讲师姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 讲师简介
     */
    @NotBlank(message = "讲师简介不能为空", groups = { AddGroup.class, EditGroup.class })
    private String intro;

    /**
     * 讲师资历,一句话说明讲师
     */
    @NotBlank(message = "讲师资历,一句话说明讲师不能为空", groups = { AddGroup.class, EditGroup.class })
    private String career;

    /**
     * 头衔 1高级讲师 2首席讲师
     */
    @NotBlank(message = "头衔 1高级讲师 2首席讲师不能为空", groups = { AddGroup.class, EditGroup.class })
    private String level;

    /**
     * 讲师头像
     */
    @NotBlank(message = "讲师头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String avatar;

    /**
     * 排序
     */
    @NotBlank(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sort;


}
